package com.gwclh.personnel.vo.stationvo;

import com.gwclh.personnel.entity.StaTransfer;
import com.gwclh.personnel.entity.Station;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("岗位信息，新增员工姓名，")
@Accessors(chain = true)
public class StaTransFerVo extends StaTransfer {

    @ApiModelProperty("员工姓名")
    String empName;
    @ApiModelProperty("原岗位")
    String preStaName;
    @ApiModelProperty("当前岗位")
    String newStaName;
    @ApiModelProperty("当前岗位人数")
    Integer countStaId;
    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;
    @ApiModelProperty("结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    @ApiModelProperty("操作人姓名")
    String operName;
}
